package com.iwop.moto.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 用户
 *
 * @author huyuangui
 */
public class User implements Serializable {

    private static final long serialVersionUID = 282874023636656389L;
    /**
     * 用户ID
     */
    private String sid;
    /**
     * 用户名
     */
    private String username;
    /**
     * 密码
     */
    private String pwd;
    private String paypwd;
    private String userType;
    private int    level;
    private String tel;
    private String email;
    private String nickname;
    private String sex;
    private String imgpath;
    private Date   birthday;
    private String mem;
    private String fax;
    private String post;
    private Double rmoney;
    private String banktype;
    private String bankno;
    private String prebanktel;
    private Date   addbanktime;
    private String province;
    private String city;
    private String area;
    private String town;
    private String address;
    private String wxOpenId;
    private String promotionCode;
    private String auditFlag;
    private Date   auditTime;
    private Date   createTime;
    private String auditDescribe;
    private String updateTelTime;
    private String unionId;
    private int    magicBean;
    private String deviceId;
    private String newUser;
    private double redPacket;

    /**
     * 当前分销收益
     */
    private Double proceedsMoney;

    /**
     * 总分销收益
     */
    private Double totalProceedsMoney;

    /**
     * 抵用券
     */
    private Long   vouchers;
    /**
     * 是否有设置支付密码
     */
    private boolean whetherPayPwd;



    private SuperRecordModel srmModel;

    public String getSid() {
        return this.sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getUsername() {
        return this.username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPwd() {
        return this.pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getPaypwd() {
        return this.paypwd;
    }

    public void setPaypwd(String paypwd) {
        this.paypwd = paypwd;
    }

    public int getLevel() {
        return this.level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public String getTel() {
        return this.tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getEmail() {
        return this.email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getNickname() {
        return this.nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getSex() {
        return this.sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getImgpath() {
        return this.imgpath;
    }

    public void setImgpath(String imgpath) {
        this.imgpath = imgpath;
    }

    public Date getBirthday() {
        return this.birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getMem() {
        return this.mem;
    }

    public void setMem(String mem) {
        this.mem = mem;
    }

    public String getFax() {
        return this.fax;
    }

    public void setFax(String fax) {
        this.fax = fax;
    }

    public String getPost() {
        return this.post;
    }

    public void setPost(String post) {
        this.post = post;
    }

    public Double getRmoney() {
        return this.rmoney;
    }

    public void setRmoney(Double rmoney) {
        this.rmoney = rmoney;
    }

    public String getBanktype() {
        return this.banktype;
    }

    public void setBanktype(String banktype) {
        this.banktype = banktype;
    }

    public String getBankno() {
        return this.bankno;
    }

    public void setBankno(String bankno) {
        this.bankno = bankno;
    }

    public String getPrebanktel() {
        return this.prebanktel;
    }

    public void setPrebanktel(String prebanktel) {
        this.prebanktel = prebanktel;
    }

    public Date getAddbanktime() {
        return this.addbanktime;
    }

    public void setAddbanktime(Date addbanktime) {
        this.addbanktime = addbanktime;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getTown() {
        return town;
    }

    public void setTown(String town) {
        this.town = town;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getWxOpenId() {
        return wxOpenId;
    }

    public void setWxOpenId(String wxOpenId) {
        this.wxOpenId = wxOpenId;
    }

    public String getPromotionCode() {
        return promotionCode;
    }

    public void setPromotionCode(String promotionCode) {
        this.promotionCode = promotionCode;
    }

    public String getAuditFlag() {
        return auditFlag;
    }

    public void setAuditFlag(String auditFlag) {
        this.auditFlag = auditFlag;
    }

    public Date getAuditTime() {
        return auditTime;
    }

    public void setAuditTime(Date auditTime) {
        this.auditTime = auditTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getAuditDescribe() {
        return auditDescribe;
    }

    public void setAuditDescribe(String auditDescribe) {
        this.auditDescribe = auditDescribe;
    }

    public String getUpdateTelTime() {
        return updateTelTime;
    }

    public void setUpdateTelTime(String updateTelTime) {
        this.updateTelTime = updateTelTime;
    }

    public SuperRecordModel getSrmModel() {
        return srmModel;
    }

    public void setSrmModel(SuperRecordModel srmModel) {
        this.srmModel = srmModel;
    }

    public String getUnionId() {
        return unionId;
    }

    public void setUnionId(String unionId) {
        this.unionId = unionId;
    }

    public int getMagicBean() {
        return magicBean;
    }

    public void setMagicBean(int magicBean) {
        this.magicBean = magicBean;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public Long getVouchers() {
        return vouchers;
    }

    public void setVouchers(Long vouchers) {
        this.vouchers = vouchers;
    }

    public String getNewUser() {
        return newUser;
    }

    public void setNewUser(String newUser) {
        this.newUser = newUser;
    }

    public double getRedPacket() {
        return redPacket;
    }

    public void setRedPacket(double redPacket) {
        this.redPacket = redPacket;
    }

    public boolean getWhetherPayPwd() {
        return whetherPayPwd;
    }

    public void setWhetherPayPwd(boolean whetherPayPwd) {

        this.whetherPayPwd = whetherPayPwd;
    }

    public Double getProceedsMoney() {
        return proceedsMoney;
    }

    public void setProceedsMoney(Double proceedsMoney) {
        this.proceedsMoney = proceedsMoney;
    }

    public Double getTotalProceedsMoney() {
        return totalProceedsMoney;
    }

    public void setTotalProceedsMoney(Double totalProceedsMoney) {
        this.totalProceedsMoney = totalProceedsMoney;
    }


    @Override
    public String toString() {
        return "User{" +
                "sid='" + sid + '\'' +
                ", username='" + username + '\'' +
                ", pwd='" + pwd + '\'' +
                ", paypwd='" + paypwd + '\'' +
                ", userType='" + userType + '\'' +
                ", level=" + level +
                ", tel='" + tel + '\'' +
                ", email='" + email + '\'' +
                ", nickname='" + nickname + '\'' +
                ", sex='" + sex + '\'' +
                ", imgpath='" + imgpath + '\'' +
                ", birthday=" + birthday +
                ", mem='" + mem + '\'' +
                ", fax='" + fax + '\'' +
                ", post='" + post + '\'' +
                ", rmoney=" + rmoney +
                ", banktype='" + banktype + '\'' +
                ", bankno='" + bankno + '\'' +
                ", prebanktel='" + prebanktel + '\'' +
                ", addbanktime=" + addbanktime +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", area='" + area + '\'' +
                ", area='" + town + '\'' +
                ", address='" + address + '\'' +
                ", wxOpenId='" + wxOpenId + '\'' +
                ", promotionCode='" + promotionCode + '\'' +
                ", auditFlag='" + auditFlag + '\'' +
                ", auditTime='" + auditTime + '\'' +
                ", createTime='" + createTime + '\'' +
                ", auditDescribe='" + auditDescribe + '\'' +
                ", unionId='" + unionId + '\'' +
                '}';
    }
}